package py.com.alfa.escriba.util;

import net.sf.oval.Check;
import net.sf.oval.ConstraintViolation;
import net.sf.oval.context.OValContext;

public class CustomConstraintViolation extends ConstraintViolation{

	

	/**
	 * 
	 */
	private static final long serialVersionUID = -1768498027856499031L;
	
	public CustomConstraintViolation(Check check, String message,
			Object validatedObject, Object invalidValue, OValContext context) {
		super(check, message, validatedObject, invalidValue, context);
	}
	
	@Override
	public String toString()
	{
		return this.getMessage()+"\n";
	}
}

